<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
    <title>易装网_装修行业门户网站_优质装修资源整合平台_【易装网】</title>
    <style>
        body {
            font-size: 14px;
            font-family: 微软雅黑, "Microsoft Yahei", arial, 宋体, simsun;
            margin: 0;
            padding: 0;
            border: 0;
        }
        .top_a {
            width: 100%;
            height: 35px;
            position: relative;
            background-color: #f6f6f6;
        }
        .top_b {
            width: 100%;
            height: 80px;
            background-color: #fff;

        }
        .shouye {
            text-decoration: none
        }
        .el-header {
            width: 100%;
            background-color: #1b721b;
            position: fixed;
            z-index: 999;
        }
        .a {
            height: 170px;
            background-color: #282c30;
            text-align: center;
        }
        div {
            display: block;
        }
        a{
            color: #282c30;
            text-decoration: none;
        }
        .a > div {
            overflow: hidden;
            margin-top: 23px;
        }
        .weibu {
            color: white;
            margin-right: 20px;
        }
        .info_web {
            color: #6b6b6b;
        }
        .dis_detail {
            width: 400px;
            height: 150px;
            position: relative;
            top: -150px;
        }
        .q {
            color: white;
        }
        .mb1{
            height: 22px;color: #777;margin: 5px 0;
        }
        .mb2{
            font-style: normal;color: #0c0c0c;font-weight: bold;
        }
    </style>
</head>
<body>
<div id="app">
    <el-container>
        <el-header >
            <div class="top_b" style="height: 60px">
                <el-menu mode="horizontal" background-color="#1b721b">
                    <el-menu-item index="1"><img src="imgs/易装网.png"
                                                 style="width: 100%;height: 100%;"></el-menu-item>
                    <el-menu-item index="2"><a class="shouye" href="/homepage.html">首页</a></el-menu-item>
                    <el-submenu index="3">
                        <template slot="title"><a href="/learn.html">学装修</a></template>
                        <el-submenu index="3-1">
                            <template slot="title"><a href="/learn.html">按空间</a></template>
                            <el-menu-item index="3-1-1"><a href="/learn.html">客厅</a></el-menu-item>
                            <el-menu-item index="3-1-2"><a href="/learn.html">卧室</a></el-menu-item>
                            <el-menu-item index="3-1-3"><a href="/learn.html">餐厅</a></el-menu-item>
                        </el-submenu>
                        <el-submenu index="3-2">
                            <template slot="title"><a href="/learn.html">按风格</a></template>
                            <el-menu-item index="3-2-1"><a href="/learn.html">简约</a></el-menu-item>
                            <el-menu-item index="3-2-2"><a href="/learn.html">现代</a></el-menu-item>
                            <el-menu-item index="3-2-3"><a href="/learn.html">中式</a></el-menu-item>
                        </el-submenu>
                        <el-submenu index="3-3">
                            <template slot="title"><a href="/learn.html">按户型</a></template>
                            <el-menu-item index="3-3-1"><a href="/learn.html">小户型</a></el-menu-item>
                            <el-menu-item index="3-3-2"><a href="/learn.html">一居室</a></el-menu-item>
                            <el-menu-item index="3-3-3"><a href="/learn.html">二居室</a></el-menu-item>
                        </el-submenu>
                    </el-submenu>
                    <el-menu-item index="4"><a class="shouye" href="/rendering.html">效果图</a></el-menu-item>
                    <el-menu-item index="5"><a class="shouye" href="/shop.html">装修材料</a></el-menu-item>
                    </el-menu-item>
                    <el-menu-item><a class="shouye" href="/designer.html">设计师信息</a></el-menu-item>
                    <div class="rag">
                        <a style="float: right;position: relative;font-size: 13px;color: #999;
                        margin-top: 23px;margin-right:15px" href="">登录/注册</a>
                    </div>
                </el-menu>
            </div>
        </el-header>
        <el-main style="margin: 0 auto;z-index: 1;width: 1200px;margin-top: 45px">

            <!--卡片-->
                <el-card v-for="d in designerArr" style="margin-bottom: 10px">
                    <el-row >
                        <el-col span="5">
                            <img width="200px" height="200px" :src="d.avatar">
                        </el-col>
                        <el-col span="19">
                            <div>
                            <b>{{d.designer_name}}</b><p class="mb1"><i class="mb2">年龄:</i>{{d.age}}</p>
                            <span class="mb1" style="margin-right: 30px;color: #0aa1ed"><i class="mb2">设计师电话:</i>{{d.phone}}</span>
                            <span class="mb1" style="color: red"><i class="mb2">设计师邮箱:</i>{{d.email}}</span>
                            <p class="mb1"><i class="mb2">从业年数:</i>{{d.job_age}}</p>
                            <p class="mb1">
                            <i class="mb2">设计师特长:</i>{{d.skill}}</p>
                            <p class="mb1"><i class="mb2">
                                个人简介:</i>{{d.introduce}}</p>
                            </div>
                        </el-col>
                    </el-row>

                </el-card>
            <!--卡片结束-->
            <div>
                asd

            </div>
        </el-main>
        <el-footer style="background-color: #282c30;height: 100%">
            <div class="a" style="width: 1500px;margin: 0 auto">
                <div>
                    <a class="weibu" href="" target="_blank"><span>关于我们</span></a>
                    <a class="weibu" href="" target="_blank"><span>帮助中心</span></a>
                    <a class="weibu" href="" target="_blank"><span>联系我们</span></a>
                    <a class="weibu" href="" target="_blank"><span>VIP服务</span></a>
                </div>
                <div class="info_web">
                    <p>Copyright © 2009-2023 zhuangyi.com All Rights Reserved</p>
                    <p>免责声明：本网站部分内容由用户自行上传，如权利人发现存在误传其作品情形，请及时与本站联系</p>
                    <p>河南车前草计算机科技有限公司 版权所有</p>
                </div>
                <div class="dis_detail">
                    <el-row gutter="10">
                        <el-col span="8">
                            <img width="100" height="100" src="https://static.zhuangyi.com/css/index/img/ewm_m.png">
                            <p class="q">手机版</p></el-col>
                        <el-col span="8">
                            <img width="100" height="100" src="https://static.zhuangyi.com/css/index/img/ewm_xcx.jpg">
                            <p class="q">小程序</p></el-col>
                        <el-col span="8">
                            <img width="100" height="100" src="https://static.zhuangyi.com/css/index/img/ewm_wx.png">
                            <p class="q">公众号</p></el-col>
                    </el-row>
                </div>
            </div>

        </el-footer>
    </el-container>
</div>
</body>
<!--引入axios和vue框架文件-->
<script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.1/axios.min.js"></script>
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<script>
    let v = new Vue({
        el: '#app',
        data: function () {
            return {
                designerArr:[]
            }
        },
        methods: {

        },created:function () {
            //获取设计师信息
            axios.get("/designer/select").then(function (response) {

                v.designerArr=response.data;
                console.log(v.designerArr+"!!!!!!!!!!!")
            })
        }
    })
</script>
</html>